package org.dromara.apartment.domain.bo;

import org.dromara.apartment.domain.FeeValue;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 杂项费用值业务对象 fee_value
 *
 * @author CKJ
 * @date 2025-06-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = FeeValue.class, reverseConvertGenerate = false)
public class FeeValueBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 费用value
     */
    private String name;

    /**
     * 收费单位
     */
    private String unit;

    /**
     * 费用所对的fee_key
     */
    private Long feeKeyId;

    /**
     * 排序
     */
    private Integer sort;


}
